package dto;

import java.util.regex.Pattern;

/**
 * @author sk.z
 */
public class WebSite {

    private String url;

    private Pattern pattern;

    public WebSite(String url, String pattern){
        this.url = url;
        this.pattern = Pattern.compile(pattern);
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Pattern getPattern() {
        return pattern;
    }

    public void setPattern(Pattern pattern) {
        this.pattern = pattern;
    }
}
